<div class="music-ajax">
  <h2>{notempty name="info.music_id"}编辑{else /}添加{/notempty}主题曲</h2>
  <form class="user-form" action="{:zanpian_user_url('user/center/addmusic')}">
    <input type="hidden" id="music_id" name="music_id" value="{$info['music_id']|default=''}">
    <div class="user-input">
      <label>视频名：</label>
      <input class="form-control" name="vod_name" id="vod_name" type="text" placeholder="视频名" value="{$info.vod_name|default=''}" readonly>
    </div>
    <div class="user-input">
      <label>视频ID：</label>
      <input class="form-control" name="music_vid" id="music_vid" type="text" placeholder="视频ID" value="{$info.vod_id|default=''}" readonly>
    </div>
    <div class="user-input">
      <label>歌曲类型：</label>
      <select id="music_type" name="music_type" class="form-control select2" style="width:100%">
        {volist name="type_list" id="vo"}
        <option value="{$key}" {eq name="key" value="$info['music_type']"}selected{/eq}>{$vo}</option>
        {/volist}
      </select>
    </div>
    <div class="user-input">
      <label>歌曲名：</label>
      <input class="form-control txt" name="music_name" id="music_name" type="text" placeholder="歌曲名" value="{$info.music_name|default=''}">
    </div>
    <div class="user-input">
      <label>歌手名：</label>
      <input class="form-control txt" name="music_star" id="music_star" type="text" placeholder="歌手名" value="{$info.music_star|default=''}">
    </div>
    <div class="user-input">
      <label>歌曲地址：</label>
      <input class="form-control" id="music_url" name="music_url" type="text" value="{$info['music_url']|default=''}">
    </div>
    <div class="user-input">
      <label>歌词：</label>
      <textarea class="form-control txt editor" name="music_lyric" id="editor" placeholder="歌词" style=" width:100%; height:200px">{$info['music_lyric']}</textarea>
    </div>
    <div class="user-input user-validate">
      <label>验证码：</label>
      <input class="form-control txt" data="validate" name="validate" type="text" placeholder="验证码">
      <img class="validate-img" src="{:url('home/verify/index',array('t'=>time()))}">
    </div>
    <button type="submit" class="user-btn" id="add-music">提交</button>
  </form>
</div>